import {Button, Table} from "antd";
import {MemberColumns, Members} from "@/mock/members";
import {Fragment} from "react";
import ContentHeader from "@/components/content-header";
import ContentTable from "@/components/content-table";

export default function (){
  return (
    <Fragment>
      <ContentHeader>
        <Button type='link'>新增会员</Button>
      </ContentHeader>
      <ContentTable
        rowKey={'phone'}
        dataSource={Members}
        columns={MemberColumns}
      />
    </Fragment>
  );
}
